﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserSubmit.ascx.cs" Inherits="UserControls_UserSubmit" %>

<%@ Register src="PersonControl.ascx" tagname="PersonControl" tagprefix="uc1" %>

<%--divInformation--%>
<div runat="server" id="divInformation" class="table">
    <uc1:PersonControl ID="PersonControl1" runat="server" />
</div>

<%--divRoleType--%>
<div runat="server" id="divRoleType" class="table">
    <div class="row">
        <div class="header"><b>Select Control Panel Role</b><hr /></div>
        <div style="clear: both;">
            <asp:Repeater ID="rptRole" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li>
                        <div class="row">
                            <asp:CheckBox ID="chkRole" CssClass="textbox" Checked='<%#Eval("IsAllow")%>' runat="server" Text='<%# " <b>" + Eval("Name") + "</b> - " + Eval("Description") %>' />
                        </div>
                    </li>
                </ItemTemplate>
                <FooterTemplate>
                    </ul>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    <div class="row">
        <div class="header"><b>Select Server Role</b><hr /></div>
        <div style="clear: both;">
            <asp:Repeater ID="rptServerRole" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li>
                        <div class="row">
                            <asp:CheckBox ID="chkServerRole" CssClass="textbox" Checked='<%#Eval("IsAllow")%>' runat="server" Text='<%# " <b>" + Eval("Name") + "</b> - " + Eval("Description") %>' />
                        </div>
                    </li>
                </ItemTemplate>
                <FooterTemplate>
                    </ul>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
</div>